<template>
  <div>
    <!-- 导航 -->
     <van-nav-bar
    title="支付"
    left-text="返回"
    left-arrow
    @click-left="
      () => {
        $router.push('/payok');
      }
    "
  />
    <!-- 支付  地址 -->
    <van-address-list
      v-model="chosenAddressId"
      :list="list"
      :disabled-list="disabledList"
      default-tag-text="默认"

      @edit="onEdit"
    />
      <!-- 动作栏 -->
   <van-submit-bar :price="allprice" button-text="去支付" @submit="onSubmit">
   </van-submit-bar>
   
  </div>

</template>

<script setup>
import { ref } from 'vue';
const list = [
      {
        id: '1',
        name: '张三',
        tel: '13000000000',
        address: '浙江省杭州市西湖区文三路 138 号东方通信大厦 7 楼 501 室',
        isDefault: true,
      },
    ]
</script>

<style lang="scss" scoped>
</style>